import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { AddInputComponent } from './add-input/add-input.component';
import { NToBrComponent } from './n-to-br/n-to-br.component';
import { CustomPopupsComponent } from './custom-popups/custom-popups.component';

const childRoutes: Routes = [
    {
        path: 'addInput',
        component: AddInputComponent,
    },
    {
        path: 'br',
        component: NToBrComponent,
    },
    {
        path: 'customPopups',
        component: CustomPopupsComponent,
    },
    {
        path: '',
        pathMatch: 'full',
        redirectTo: 'addInput',
    },
];
@NgModule({
    imports: [RouterModule.forChild(childRoutes)],
    exports: [RouterModule],
})
export class ComponentRoutingModule { }
